package com.etc.service1;

import java.util.List;

import com.etc.entity.AnsAnswer;

public interface AnsAnswerServiceDao {
    //回复信息
	public boolean answerAnsMessage(AnsAnswer ansanswer);
//查询
	public List<AnsAnswer> findAnswerAnsMessage(int id);
//删除
	public boolean deleteAnsAnswer(int id);
//禁
	public boolean closeAnsAnswer(int id);
//解
	public boolean openAnsAnswer(int id);
//查询用户发表的回复
	public List<AnsAnswer> findUserAnsAnswer(String username);
//查询所有的回复
	public List<AnsAnswer> searchAllAnsAnswer();
//查找
	public int findUpid(int ansid);
}
